package com.bootdo.sell.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.sell.dao.SalesDao;
import com.bootdo.sell.domain.SalesDO;
import com.bootdo.sell.service.SalesService;



@Service
public class SalesServiceImpl implements SalesService {
	@Autowired
	private SalesDao salesDao;
	
	@Override
	public SalesDO get(Integer id){
		return salesDao.get(id);
	}
	
	@Override
	public List<SalesDO> list(Map<String, Object> map){
		return salesDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return salesDao.count(map);
	}
	
	@Override
	public int save(SalesDO sales){
		return salesDao.save(sales);
	}
	
	@Override
	public int update(SalesDO sales){
		return salesDao.update(sales);
	}
	
	@Override
	public int remove(Integer id){
		return salesDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return salesDao.batchRemove(ids);
	}
	
}
